import React from 'react'
import {useRoutes} from "react-router-dom"
import {Suspense} from "react"
import routerConfig from '../router'
function App() {
  return (
    <Suspense fallback={<div>...loading</div>}>
        {
            useRoutes(routerConfig)
        }
    </Suspense>
  )
}

export default App